<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>JavaScript 语法</title>
</head>
<body>

<h2>JavaScript 对大小写敏感</h2>

<p>请试着把 lastName 改为 lastname。</p>

<p id="demo"></p>

<script>
  var lastname, lastName;
  lastName = "Gates";
  lastname = "Jobs";
  document.getElementById("demo").innerHTML = lastName;
</script>

</body>
</html>